package com.brandservice.utils;

import java.util.ArrayList;

public class IndexUtil {
    static ArrayList<float[]> datavecs;
    public static native long addData(float[] data_vector);

    public static native int indexs_search(float[] queryVec, int k, float[] diss, int[] indexs);

    public static native void init_index();

}
